package com.example.blog_system.service;

import com.example.blog_system.model.domain.Article;
import com.github.pagehelper.PageInfo;
import com.sun.org.glassfish.external.statistics.Statistic;

import java.util.List;

public interface IArticleService {
    public PageInfo<Article> selectArticleWithPage(Integer page,Integer count);
    public List<Article> getHeatArticles();
    public Article selectArticleWithId(Integer id);
    public void publish(Article article);
}
